package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-18 21:26:42
 */
@ApiModel(value="roomWheat",description="房间麦位信息")
@Data
@TableName("room_wheat")
public class RoomWheat implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@ApiModelProperty(value="id",name="id")
	@TableId
	private Integer id;
	/**
	 * 房间号编号
	 */
	@ApiModelProperty(value="房间号编号",name="roomId")
	private Integer roomId;
	/**
	 * 位号 0 1 2 3 4 5 6 7 8 9 
	 */
	@ApiModelProperty(value="位号 0 1 2 3 4 5 6 7 8 9 ",name="place")
	private Integer place;
	/**
	 * 心动值
	 */
	@ApiModelProperty(value="心动值",name="charm")
	private Integer charm;
	/**
	 * 1 禁麦 0 解封
	 */
	@ApiModelProperty(value="1 禁麦 0 解封",name="mai")
	private Integer mai;
	/**
	 * 状态 1 封麦 0 解封
	 */
	@ApiModelProperty(value="状态 1 封麦 0 解封",name="offMai")
	private Integer offMai;
	/**
	 * 倒计时时长
	 */
	@ApiModelProperty(value="倒计时时长",name="time")
	private Integer time;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value="创建时间",name="createTime")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;
	/**
	 * 进房时间
	 */
	@ApiModelProperty(value="进房时间",name="onRoomTime")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date onRoomTime;

	@ApiModelProperty(value="禁 bear 封 seal",name="type")
	@TableField(exist = false)
	private String type;

}
